Fixing bugs in DebugEffect.