The reason of the problem is that Vista Aero is not compatible to DirectX operations that require reading from a surface, for instance inverting a line.

Future versions of WED and MED will work around this problem by using several screen buffer layers and an offscreen buffer. Until then, the best solution is disabling Aero.