Fixed crash when popping VC while action sheet is open