getting image from canvas, canvas size issue