Fixed issue with ribbon on MainWindow