[vector-api] Fix hit detection on retina displays

This PR fixes hit detection on retina devices (devices with `devicePixelRatio` > 1). The fix involves using 1 as `pixelRatio` for hit detection.