Fix iOS7 overlay crashes