[Fix] eventType key being deleted from wrong object

Caused event listener on `rootElement` to not be re-bound after last event is removed.