Fix: Cursor position was not updated when dragging windows in the main menu