fix: fail to get 2d canvas context

Fail to get canvas context using canvas.getContext("2d") because of mistype