Fram data guards

Sometimes, this._frameData is null. Guard agains it.
Sometimes, we transfer to an animation that contains lesser frames.
Guard against it.
Merge pull request #1033 from lucbloom/updateFrameData-fix

Frame data guards