Fixing last frame decompression issue