nasty fix for touch events