fixed the mess layout of lobby.html in safari