fixed INVALID_OPERATION error while setting up sampler2D id for the shader