Better support for meshes with no material.