There are enough threads about this here already. This is not a bug: you're doing it wrong. Three times in a row.
1) Don't let Trojans corner you
2) Don't panic if it happens, they CAN be bumped away with a shield enough for you to escape.
3) If you die, they will walk away before you time out. Try waiting.
Also: For further advice, try using the search function.