LoginWindow fix