Fix touch recognition.