Fix application crash when calling Shader::isAvailable() #608.