Fixed shader uniforms being recreated every time a value was set