fix double calls to bubbling event handlers