Fix rounding for color mixing
The sum of mixing weights must always be 255, otherwise there will be weird opacity/brightness effects