Fix crash when disabling GLSL