Change location determination logic for click and gestures

Fixes #37.
Click and start gesture from center of "in-view" only element area