fixing weirdness on touch