Correction for displacement artifacts in 3D phase contrast imaging