Use wtu.checkCanvasRect when we can.
Merge pull request #732 from zhenyao/clean

Use wtu.checkCanvasRect when we can.