bug fixed when dispose was invoked, but children`s dispose never be invoked.
improved same frame entering.
bug fixed when to get last frame returned wrong value.