Quick fix for onResume bug with login screen