Use pointInside to prevent detecting non-presenting view touches.
[Demo] Add partial view example.