Fix debounce issue.