Fixes mouse panning out of sync when screen resolution is limited
Prevents the mouse cursor from entering text selecting mode