Prevent shaders from being created when disabled