Make drawing work on retina display.