Fixed #2441: Improve update function of Action, avoid using temp cc.p or cc.size

Fixed #2441: Improve update function of Action, avoid using temp cc.p or cc.size