onMouseIn/Out inside a repeater

The code looks functional, but from the screenshot it looks like the box is not attached to the repeater, which would cause the code to not work.
“$item” only works with elements within a repeater.