Fix bug that made a crash worse
Fix bug that made a crash worse


grit-engine/grit-engine,grit-engine/grit-engine,sparkprime/grit-engine,sparkprime/grit-engine,sparkprime/grit-engine,grit-engine/grit-engine,sparkprime/grit-engine,grit-engine/grit-engine