Corrected mouseenter and mouseleave functions.

That's not how it works! This is how it works!