Make Element#remove() work in Shadow DOM polyfill