Merge "Fix rounding error in Palette's region calculation" into mnc-ub-dev