Fixed drag scrolling for maximized windows (issue #370)