Updated mouseout to mouseleave