The problem also goes away if you turn off the do3D option...

So, if you have do3D AND doDirectX7Mode, the problem occurs, but you'll get hardware acceleration (providing doHardware is set). As soon as you turn off do3D or doDirectX7Mode, the problem appears to go away.