Probably not related, but I had a similar problem which ended up being due to DirectX.
i didnt download the demo, but are you sure its not your mouse? does this only happen in quake? only in r1q2?