Center the clipping region

Use the real canvas size to center the heart. Only visible when
devicePixelRatio is greater than 1.0.
Merge pull request #1460 from fredj/vector-api-layer-clipping

Center the clipping region