Fixe login window resize bug