Minor fix

- Forgot to set `Event.target` for the deprecated branch in `element.dispatch()`