fix: detect qwen localized active states (#2818)