Proper click handling behavior

What you were expecting to happen, and what actually happened?
I clicked “Cast>” then mousedown’d on the target enemy I thought I wanted. Before mouseup’ing, I changed my mind and dragged the mouse completely off target then mouseup’d. It still casted my attack at that target. I would expect that click to be ignored; pretty much every other app/game does so.