Fixed false positive when recognizing circle - note that agent parameter
API shall be refactored since line and circle do not share any parameter
in common anymore