Nothing wrong with the rule for me.
Players getting injured is an unfortunate side effect but it’s far better for linesmen to play on, in the interest of sport.
If they put their flag up every time it was tight they would inevitably rule out opportunities to score.
Before this was the rule, people constantly moaned about tight onsides being flagged as off. That was why they changed it.
The only way to fix this particular issue is for technology to be used which automatically decides offsides similar to goal line technology.
Just a prime example of the media desperate to find something to complain about, and managers not helping either.