Fix "Shaders not support" Exception being thrown when shaders are
supported.