Fix code flaw with player death