Fix tap and doubletap with touch input