Fix gesture bug & disable click when edit mode