Change the main window size to max size.