If the tracker box strays from the reference point that it is supposed to be tracking, incorrect keyframes result. If such an error occurs, you can stop the analysis, correct it, and restart it at any frame.
There are a number of different methods you can try to correct tracking errors. Try the strategies given below, then redo the analysis to generate new keyframes based on the updated information you provide.