Fixed LoginView -> Sheety transition bug.

LoginView was not closed correctly and that is fixed (hopefully).