Fix bug where overlay isn't always centered

Happens when moving from multi-monitor setup to single monitor.