Fixed login animation bug