Fix crash after relogging when dead