add canvas' width and height.