Fix small palette lz bug