Reimplement minimum height for main window.