My fix for shader problems