Changed width and height of the canvas to match device width and height