Move or Attack is locking you in attack

Hello, new player and i like to play with WASD and left click for attacking, and using “move or attack” you are stuck attacking as long as there are enemies in the screen. If there are no more enemies it stops, but resumes attacking the moment more enemies appear (i think you need to put your cursor near enemies, but sometimes it just “go ham” anyway).

Its especially problematic for melee skills where you stand in place and hit the air. Only way to return to normal is by clicking on the ground or interacting/picking up. The option to move in melee helps a bit by making it less frequent to stuck, for whatever broken reason, it also makes your character “run” in place instead of attacking.

Obviously it makes for horrible combat experience and it almost made me refund the game cause its so bad, so please fix it asap. Thank you and have a nice day.