Blizzard completely "fixed" this in 5.1 as far as I know. Lots of people posting about it in the UI & Macro forum.
Forum Rules
Connect With Us