St.Widget's new "hover" property takes reactive children into account when deciding whether or not the pointer has actually left the actor, so it works better than the code that used to be here. https://bugzilla.gnome.org/show_bug.cgi?id=610726