If there are segmentations for some timesteps and the current timestep for histogram calculation was changed with the slider, the histogram displays old values.
If the timestep is changed, the correct histogram should be displayed even if masks are present.