Fixed Minor issue from moving MainWindow