Ensure shrink properly clears buffer.