fixing crappy glsl bugs