I find it difficult to place sword cursor above enemy when attacking.

More often than not I choose a movement (because I miss click the enemy) and I move towards the enemy. This most often happens when ranged attacking.

Is there a solution for this ?