Fix scaling in MainWindow.