add setViewport to CanvasRenderer

quick bit of code to add setViewport to CanvasRenderer