Fix bug with duplex position.