Like resolve, but enters overlaid nodes to find the innermost node, and climbs back out of overlays that do not cover pos.
pos is an absolute document position, not an offset into this node.