Fix bug in InnerModelMesh loader