Tested getMousePos.