Fixed shake animation in login for Firefox.