Fixed an accidental gesture bug