Compensation of the magnetic force imaging by scanning directions.