Crop elements' bounding rects to their parents for link hints

This prevents us from showing link hints in places where an element is
present, but concealed as part of its parent's overflow.