center mainwindow at start