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