Fixing when `cleanup()` is called from a `DOMNodeRemoved` event, fixes #274