Improve cc.view's resize callback logic