This beam vanishes on OpenGL when shaders are on. What's even weirder is that it is visible when looking at it from further away.