Fix DOM.replaceChildren