Fix bug where Log In box no longer appeared in the correct place. (#446)