correct alpha/opacity blending to allow background colors which are not black