Fix hit detection on retina displays
Merge pull request #1520 from elemoine/vector-api-hidpi-hit-detection

[vector-api] Fix hit detection on retina displays