I just tested in my test environment, and the castShape does impact hasHit. Do you have a sample project that shows this issue?
Viewing post in Fix (castRay/castShape) double trigger comments
https://kindeyegames.itch.io/construct-3-cannon/devlog/837226/fix-castshape-miss...
Thanks for the example; it helped with debugging. (The miss case was the issue)