Minor fixes in the TIFFReader