Moved a bit of code to keep shaders working even if a faulty version of nvidia drivers dont let it work.