fix timeline
fix ui animation
Merge pull request #7084 from andyque/fixUIAnimation

fix timeline and ui animation bug