Fix issue where if element is re-added to the DOM it goes back through the lifecycle.