Properly set parentNode in DOM.Yield