This is a somewhat more general issue, though it is far more of an issue for stealthy, hit and run type ships.
It seems to be more likely to happen when there is more lag, as that is when the game starts taking some "shortcuts" to try to keep lag from becoming overwhelming, but sometimes leads to ships overshooting their mark (including getting closer than they need to be to attack, as in this case)