Aha, it seems the story isn't over yet. Turns out this code somehow hides the default castbars of the target and focus frames
UPDT: with -- self.auraPools:ReleaseAll() commented out it seems to work.
Lua Code:
TargetFrame:UnregisterEvent("UNIT_AURA")
FocusFrame:UnregisterEvent("UNIT_AURA")
local function ReleaseAllAuras(self)
for obj in self.auraPools:EnumerateActive() do
obj:Hide()
end
-- self.auraPools:ReleaseAll()
end
hooksecurefunc(TargetFrame, "UpdateAuras", ReleaseAllAuras)
hooksecurefunc(FocusFrame, "UpdateAuras", ReleaseAllAuras)