Fix the bug that when snap is enabled and no touch moved, the snap
effect is disabled.