Fix "on entity killed" event