Daniel's fix for the iPad crashing issue

Signed-off-by: James R T Bossert <jrbosser@gmail.com>