Fix for touch input.