Fix: Detection line does not disappear