Added width and height to canvas