diff --git a/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp b/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp
index 099c5cf601995e3c65e52c0efa4235b8c851e745..3e8f406fc695943e33ade62a3405bfab1022d187 100644
--- a/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp
+++ b/source/RobotAPI/components/DebugDrawer/DebugDrawerComponent.cpp
@@ -1813,6 +1813,11 @@ namespace armarx
             removeLineVisu(layerName, i.first);
         }
 
+        for (const auto& i : layer.addedLineVisualizations)
+        {
+            removeLineSetVisu(layerName, i.first);
+        }
+
         for (const auto& i : layer.addedBoxVisualizations)
         {
             removeBoxVisu(layerName, i.first);