I am currently using setInterval with useEffect to create an animation (see image 1)
The problem: After going to another tab and coming back, I get a