If you fire then if at any point the shell ends up within 500m of the cursor position, the shell will immediately change direction towards, and is able to make extreme turns in order to hit the target.
This also applies to cursor positions very close to you, looking at the ground right in front of you in a M4 Scorcher and firing with the cannon at max elevation will still have the shell immediately abort its arc and fly downwards towards the target.
Digging through the configs it appears that triggerDistance might be the culprit, not taking shell orientation or what the actual target is into account.