Fix bug #399: Cairo render crashes with several blend modes in non debug.