Fix network connection check on tablets