Fixed the gesture recogniser issues.