am 03f0b21b: Fix several issues in the gestures libraries.

Merge commit '03f0b21b5a317aa6c0f0cd4d7ac91cabdf379d3e'

* commit '03f0b21b5a317aa6c0f0cd4d7ac91cabdf379d3e':
  Fix several issues in the gestures libraries.