Minor improvement to touch input