430e87445e
useEffect watching [activeTool, activeTab] runs createIcons() but contextMenu is NOT in deps. On first right-click, if activeTool/activeTab also change (e.g. timeline click), the effect fires and icons appear. Subsequent right-clicks don't change activeTool/activeTab, so createIcons() never runs for the new context menu DOM. Fix: add contextMenu to useEffect dependency array.