Fix for login_menu not displaying under some circumstances