Updated lastMousePosition to update itself