fix touch screen debouncing