that is actualy a feature. Hold F1, move your mouse to a enemy unit (like archers), release... your troops will charge the archers and then come back.
F1-hold-release is used to move big distances, to create a formation, to attack from flanks, etc. Not to order your troop to move 20m when its near the enemy.