Fix checkCanvas utility function JSDoc to correspond to what it does