diff --git a/UnitPanel.lua.eui.modcompat b/UnitPanel.lua.eui.modcompat
index 6d47c534d3e99206b23d48ee6c4270d1e134e581..584ff028df0c0b7dedf1fae64e791724ca20667d 100644
--- a/UnitPanel.lua.eui.modcompat
+++ b/UnitPanel.lua.eui.modcompat
@@ -864,6 +864,7 @@ local function UnitActionToolTip( button )
 end
 
 local function UpdateUnitPanel()
+	actionIM:ResetInstances()					  
 	-- Retrieve the currently selected unit.
 	local unit = GetHeadSelectedUnit()
 -- Events.GameplayAlertMessage( "SerialEventUnitInfoDirty, GetHeadSelectedUnit=".. tostring(unit and unit:GetName())..", last unit="..tostring(g_lastUnit and g_lastUnit:GetName()) )