Center the main window on the screen