This looks correct to me as well... The collision detection isn't 100% perfect. I bet some of the crossings were too close and weren't counted as a separate intersection, or a crossing close to an intersection made an earlier collision count as if it were with a different segment. Restarting and trying again should fix it. This is a problem that is worth fixing if I continue developing the game. Thanks!