When the mouse is grabbed it's constrained to the client area, not the window frame.