Fix loading-active still present sometimes in ios

In ios sometimes the loading is still visible