Handle traversal of nodes that aren't connected to the DOM yet