Support removing emulated events (mouseover, mouseout)

The wrapper method is stored in a hash, so it can be retrieved when the event handler is removed.