Fix a bug in high DPI scaling

We can't take more pixels that exist in the background, but we must scale
them down to a smaller size because the target canvas has ctx.scale
applied.
Merge pull request #2 from zarr/master

Fix a bug in high DPI scaling