Fix gui on autoreconnecting