Likely because you had glidewrapper installed, it breaks our files! Actually it really sounds like your D2Ex2 config is really busted if cursor lock isn't working either. I'd honestly completely re-install from scratch, D2Ex2 should not be damaged, your case is the first I've seen it.