Fixed some properties in ShaderProgram