[DF-1785] Fixed alpha channel saving in custom palette