Tiny (but really important) fix to in main window