Texture compilation fix