Added canvasWith and canvasHeight as View member variables