Fix for disposing a ReactiveElement when it is detached from the tree (or moved) by some other method (say diffing).