Fixed some gesture issues.