Fix bug when swiping by single characters around emoji.