fix tap coordinates on devices with devicePixelRatio != 1