Fix shaders which uses $ThisPointer