Fixed autoScalePosition()

fixed calculating Data Offset