Fixed Visual Studio complaining about first-chance exceptions