Fix issue with missing geometry in the Cairo surface created with Quartz