This is a bit of a weird quirk that was discussed in another course but I forget where exactly. I’d have to double check how it works, but I believe when you click on a button it also detects a hover state and gets stuck in that state.
One thing you can do to fake it working correctly it to setup the hover state animation to end in the same state as the normal state. As long as you hover over it, the animation will loop but if you hover away and it’s “stuck” in that state, you won’t notice if the animation ends in the same position as the normal state.
If I find the proper fix for this again I’ll post it here.