How to avoid hitting hitTest when clicking when using small components to measure.
view.on("click", function(event) { view.hitTest(event).then(async (response) => { }); });