Add proper handling of death animation