Improved Input getMousePosition