UIActionSheet+Helpers: Prevents crash

Fixes #2478

/cc @sendhil