Fixing custom events, when using triggers.

TODO: Custom events should be able to have something like
stopPropagation();