Fix subpixel rendering in menus when on cairo backend