Fix frame size initialization issue for cc.view