Mouseover Remove Lesser Curse Macro Not Working

So my macro on my classic era mage for Remove Lesser Curse is the following:

\cast [@mouseover,help,nodead] Remove Lesser Curse; [harm, nodead] [exists,nodead][@player] Remove Lesser Curse

However, when I go to hover my mouse over a raid frame, it doesn’t remove the curse if they are cursed. I don’t really understand why this is happening. It will, however, cast on myself when I’m not hovering over a raid frame. What’s strange is that it will cast when I hover over the player’s character itself, but it will not cast if I hover over their raid frame.

#showtooltip
/cast [@mouseover,help,nodead] [] Remove Lesser Curse

What keybind do you have it on?

I have it on shift + mb5.

That’s the problem. Unit Frames eat mouse clicks. You’ll need to bind it using Blizzard’s Click-Casting interface or an addon like Clique.

Oh, wow that did fix it! Thank you so much!