Set boundaries for the drag region,
Implemented basic docking to the bottom of the window.