Make sure that the correct type is set for live mouseenter/mouseleave events. Fixes...