Make shr stop descending into the dom before `max-specpdl-size' stops us