check if canvas is supported