Check for canvas support.