warp_mouse_pos for osx

Just copied windows behavior.