Tutorial: fix "ReferenceError : canvas is not defined".