Implemented canvas drawing to reliably support creating images larger
than screen.