Properly unmount the component when the shadow DOM is enabled.
Merge pull request #4652 from atom/bo-fix-unmount

Properly unmount the component when the shadow DOM is enabled