fixed the sprite when dead