A couple of fixes to GLSLShader