I am using Fabric.js to draw paths by default the selected event only captures click intersection with the bounding box of the path. This is problematic when you have multiple paths whose bounding boxes overlap each other but the paths themselves are visually distinguishable to an end user.
Is there anyway to do pixel perfect path selection or to select the path that is closest to the users click?