When adding a ray then the graphics look kind of broken. Looks like something is messing with the z-buffer.

When adding an absorber the effect disappears, which makes sense since the ray doesn't go to infinity and decreasing the z-buffer resolution.
@chbergmann You probably already know this but maybe its good to put an info somewhere that the absorbers are meant for that.