dom/event: fix superclass mismatches