Move the offset element position to the output element

The offset element should be in the output element.