Fixed a bug with FramesComponent that wouldn't reset the frames loop cor...

...rectly sometimes.