Prevent infinite loop in adding of canvas CircleMarkers