When maximizing window, make sure we maximize on the current screen of
the window (and not the system's default screen).