Fix event bubbling for custom event for IE6-8.