Fix a bug that happens when browsing before network is up