BTW, i found the solution.
My mistake was that i was setting `hover` as a global variable.
I had to set it as const hover = gsap.to...
so:
const hover = gsap.to(animateElements, {
translateY: -15,
autoAlpha: 1,
paused: true,
ease: "power2.inOut",
stagger: 0.1,
});