Fixes a bug which broke the diagnostics pointers for phase space visualisation and velocity distributions.