Fixed app crash in ios private mode. Task #13883, Task #13944