Check if canvas is supported before trying to render the user avatar.