Fix maximized windows being repositioned to no longer maximized when applying graphics settings.