tee_input: restore read position after #size