Fixes inputstream reset after reading decoding bounds only