Retina support for Canvas plotting