Fix MainFrame after recent changes in preset handling