Updated the HTML5 canvas drawing classes.