prevent crashing with https://github.com/KhronosGroup/glTF/issues/130#issuecomment-24422054