Added retina support to canvas