fixed emit last frame several times
fixed timeline loop
Merge pull request #8853 from 2youyouo2/v3_EventFrame

fixed emit frame event