add retina display support to canvas renderer