Added with and height attributes to Canvas