Fix issues: crash when overlappingElements was null, and text not being ...

...computed for hidden elements