Fix buffer overflow in finalColorBlend.