check if the canvas is supported