Fixed Firefox crossbrowser support.
Fixed double lobby on logout and relogin.