Fixed a Plot Gallery crash on iOS 5. Fixed issue 556.