Use same stroke tolerance approach for hit-testing joins and caps as well.