Optimize canvas renderer.

Only use setTransform when it's needed (ie. when the view is rotated)