Touch compatibility fix