remove any scene->deleteLater() due to the change of mainwindow (scenes are childs of MainWindow)