For conventional imaging, shaking of the imaging system or the target leads to the degradation of imaging resolution. In this work, the influence of the targets shaking to fourier-transform ghost diffraction (FGD) is investigated. The analytical results, which are backed up by numerical simulation and experiments, demonstrate that the quiver of target has no effect on the resolution of FGD, thus the targets imaging with high spatial resolution can be always achieved by phase-retrieval method from the FGD patterns. This approach can be applied in high-precision imaging systems, to overcome the influence of the systems shaking to imaging resolution.