* Crash was caused by removing an element from m_activeTools list, causing other iterators to be invalidated when dragging line in GAL mode.
* Crash was caused by removing an element from m_activeTools list, causing other iterators to be invalidated when dragging line in GAL mode.