What's the solution to the pixelzoom--image class glitch?

There is a glitch with the pixelzoom–image class. Basically, when you hover over the image of the product, the scroll bar at the side of the window disappears, shifting all the content to the right. For some reason, when you put your cursor at the very border between a div with the pixelzoom–image class and the margin, it spams from left to right rapidly. Here is a video of the glitch: https://streamable.com/cue0xr

How would one fix this?