Bash bug on barbarian

You can fix this by using hold position, then you’ll keep bashing regardless of whether you can reach your mouseover target.
There is a trick where you can set the Hold position alternate button to, for example, Shift + 1, and pressing just 1 will also cause you to stand still as if you were pressing hold.