Added attached properties for width and height to Canvas