mshtml: Use stored nsdoc in prev_node.