Added smoother position correctioning