Improved the drag bounds so it won't keep swapping sides when dragging in large window sizes.