fix lossless webp for dart2js