Mouse over image reveal on hover not attaching to mouse

I’ve been working on a new interaction and have been having a rough time with one aspect of it.

Basically trying to pull off an image reveal that follows the mouse when hovering over a single line item. I’ve gotten most of it to work properly but for whatever reason, the image will not stick to the mouse. It is always to the bottom left by about 500px. Any ideas what could be causing this? Any help is much appreciated!

I pulled most of the structure and interaction details from this project Webflow - Text Grid with Magnetic Images on Hover

CleanShot 2022-12-01 at 08.41.16