updated cairo backend to draw pixel perfect