SWF-4589 Fix crashes on iOS 7