As far as I can see from your code, the desirded position isn't moving, right?

When the camera reached the desired position, it won't move, for sure, because it only moves when it didn't already reach the desired position.