Fix a crash in the iPad release build.