Fix typo
Merge pull request #2 from mdiin/canvas-patterns

Empty arrays yield invalid SVGs