You are right. If the path contains some line, which crosses the circle at two points, there are some failure. Need to draw a tangent from E ... CritcalQ already give a solution.