fixed emit frame event

1.fixed emit last frame several times
2.fixed some EventFrame may not emit