Use MaxPos instead of MaxTrackingPos when "restoring" a window which was