I had a similar issue, but for me, I found out the issue was my hover bhutton was different size than normal button, and seemed to move locations too, menaing when my mouse hovered on it, my cursor was hovering over the normal button but not the hover state button, hence the flicker of back and forth. Fixed, it by chaning hover button size.