Fixed offset 1 bug on in-place decoration