fix midi quantization - part two

include position offset in rounding