Fixed an issue where dispatching click event delegates the DOM event object as event arguments