It doesnt run behaviors while dead this is indeed a bug.