Minor fix

- Fixing when `cleanup()` is called from a `DOMNodeRemoved` event
- Fixes #274