Read width/height from canvas not ctx