Fix that a button doesn't play animation when resetting