fixes rendering issue for onboarding message and only shows onboarding message at correct times for credential overlay