There are two very likely independent possibilities for the cause of the problem described:
Limitation of bogie movement, both rotation and pitch, such that in one direction the mechanism cannot adjust to the track curvature. Such limitation can be caused inside the body shell, as well as externally by such as fouling of a coupler on body work or detail limiting movement.
The derailment is only in one direction, is this with respect to the track or the loco?
Does the derailment only occur with either of the A or B cab leading, or is it only in one direction on the layout, whichever cab leads?
What happens if you trial the mechanism with the body removed?
Then there is the track, does the derailment always commence at one location?
If so observe that location very closely.
And then there is 'interaction'
If this loco is the longest six axle model you operate, and all other traction and vehicles are derailment free, then you may be looking at a subtle track alignment problem which just pushes the larger unit 'over the edge'.
You may need to test independent of the layout to see if the loco is problem free on the same radius curve; and if it is then re-lay the track in the problem location of layout. Many of us have been there, it's not uncommon to discover a problem with the track with the introduction of a larger vehicle on the layout...
HTH