Hopefully fix GL_INVALID_VALUE when setting sampler uniform