Fix crash when explosions kills a unit