Add explicit canvas init to example