Fix npe in VisualisationFrame.