Fixing detection of touchcontroller