Add rounding to position values