Fix for certain models with textures not parented to materials.