Fixed the login window disappearing