clamp mouse position to screen
prepare for release 1.2.1