Fix `isDefaultPrevented()` for delegated events

Make the event proxy reflect the state of the wrapped event object

Closes #855
prevent accidental global in tests