Remove hats when dead.