Both those are wrong, @cursor and @mouseover are mutually exclusive in terms of the spells they work with.
Use one of these templates:
That said, the issue with the first one is probably the key you have it bound to. UnitFrames eat mouse clicks, you need to use an addon like Clique to get around it.