Detection improvements: Hidden by overlap: Refine.

Some improvements to hidden-by-overlap detection code:
- Augment default offset to 2 (1 was observed not to be enough).
- Don't add offsets, but choose the maximum.
- Return false if offset point outside the element.