iOS: crashes because of rendering in background fixed