FIx: correct TotalTime of ActionObject.
Merge pull request #6615 from xhcnb/fix_ActionObject

FIx: correct TotalTime of ActionObject.
fix compile error and synchronizate the UI change for Lua
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_fix