Added retina support to canvas

Fixes issue #103.