fixed resize order, _offset input cache was wrong