fixed edge-case whereby TOC links point to display:none element, resulting in crash in compute-by-rectangle visibility (empty clientRects)