fixup Capsule DebugDraw code and use transformation scale