cairo: fix incorrect computation on coefficients when sigma is zero