Added core feature.

Added code to make sure that out of frame animations don't show up