Fix for bridge direction detection
Use correct rotation, clip test lines to end inside anchors, apply correct test for valid bridge line