The stability problem for transformations of the circle