fixed MouseDragged (line 669)