fix rms calculation when view has m/z axis