Add countermeasure to prevent occurrence of `NSObjectInaccessibleException` on ios 5. closes #1208