[std] Fix position setter in BytesInput
Merge pull request #2753 from Herschel/bytesinput

[std] Fix position setter in BytesInput