If you use RemoveDrawObject(globalDrawingToolId) to remove a Global Drawing Tool, without including an @ before the id, it won't be deleted until the chart of the indicator that created it is focused.
I've attached a sample indicator that displays this behavior. For every new candle after it reaches State.Transition, it removes the last line, and draws a new global line with a random id, connecting the highs of the 10th last candle with the last candle.
To reproduce the bug, insert the indicator into a chart, switch to another tab of the same Instrument, and wait for a candle to close. The old line won't be removed until you open the tab that the indicator is inserted.
Removing the Draw Object using an @ sign before the id fixes this, but this seems like unexpected behavior nonetheless.

Comment