Added setViewRect inside nanovg.