Restore cursor position when Node#children returns