Fix iPad crash at launch