Fix window centering for EndScreenDeviceChange