use end_decompress when decoding a tile, closes #285

had mistakenly only been using end_decompress when decoding by area
merge branch 'issue285' into devel