Clear animation state on click