Support touch devices correctly