fixed warnings in “art” and “cairo” backends