Fixing models with null materials.