Enter mouse / moouse leave

Hi guys!

I’ve created a prototype whereby a target area has been set to open an overlay (in this case, the sticky header) on mouse enter.

This all works fine, but the reverse is not happening on mouse leave (whereby I want the sticky header to disappear).

Any ideas?