The invisible MainWindow should never receive focus.