Main window was centered