Fixed the Cairo backend interface.