Fixed a bug with lossless 16BPP compression