Fixed window-size bug when moving a maximized window between screens.