Fixing GRTexture errors