Correct a mistake of cc.view that resetCache is null when render mode is WebGL
Merge pull request #2532 from dingpinglv/setTransform

Correct a mistake of cc.view that resetCache is null when render mode is WebGL