fixed #1747: Crash occurs when passing null to cc.AnimationFrame.initWithSpriteFrame