Fix crash when mob dies