Very strange???
If it helps, ScummVM doesn't write to anywhere on your system apart from the install directory (eg it does not setup any environment variables). So if you wipe the install directory and started again it can't be a ScummVM setting.
Maybe it's some patch or something you've installed recently?
Also try some other software that uses AHI and see if that works ok on your system.