Fixed algorithm to delete added circles