[Win] another solution,`isChangingTab()` removed from last commit.