set isDefaultPrevented to true on event when preventDefault() is called. (like jquery does)