Fix touch and ms-pointer events