The toolbars can be a bit too sensitive in their docking behavior. This is a fix for some of it

A docked toolbar, say on the top, when you drag it to the left to line it up, it will instead dock to the left. This fix makes it so if you drag a docked toolbar (well actually anything which it does not seem to be bad behavior so far with docked windows but time and lots of docked windows at once will tell) to one of the four corners will not cause an orientation change. If anyone knows of better ways to improve this behavior, let me know.