This happened to me once before. I think what I finally did to fix it was re-import the clip. I also think that I chose to stabilize after it was imported rather than have FCPX analyze upon import. I can’t remember exactly but if you play around with those options it should fix the problem. There was no sudden lateral movement anywhere in the clip. I think it is just a bug.