Fix crash in case of mob not containing a spawning definition