Added autosize on Canvas.