Set window to open in centre of screen.