Make loading screen work better with the login screen