Texture extension fix