Adds retina display support to the canvas but it's not right.