Fix encoder offsets.