fixed collision detection between polygons and circles