fixed graphic glitch when login form is visible