Reset g_Enabled on map end.