If someone calls ```setUnfilteredPosition(element, offset)``` with element === root and offset === 0 or 1, which should be fine (or?), going directly to parentNode here will escape the node !== root while-condition.