Fix mouseX and mouseY values