Pull width and height from canvas DOM object instead.