Fix weird not scrolling bug linked to connection check