Fix a bug in the source length of the shader