fix error where meshes without morphs could crash