Fix compile error filling the cairo rects.