I see it just ok in your blend file. Using current Blender version. it works as it is. Although I think instead of realize instances you should use random Z value into instancer scale input. "Realize" turns all instances into single unique geometry and would render slow . Perhaps does this glitch too . But I still see it…