Only hit test visible elements.