Fix mouse_x/mouse_y on OS-X
Merge pull request #887 from sorlok/osx_mouse

Fix mouse_x/mouse_y on OS-X