Prevent Nullref exception, when MP is closed, while a Visualisation is active