Fixes shader errors