Correction for the desired positions