Fix error with 'entity killed' not firing

(Thanks, Psychoboy!)