Fix browser getting stuck in pinching mode

This is a quick fix for the issue. Though it would be better to maintain GestureEventListener state in a more controlled way like with a private method SetState.