Added a method isCanvasSupported().