Fixed glitch after latest Visual Studio upgrade