Yes, the diameter is compensated at the same time as the tension.
When the string's action is higher above the frets, the tension increases more when fretted than open, to a greater degree than low action.
So the saddle for that string needs to be positioned such that the plucked portion of the string is slightly longer than it would need to be if the tension were the same as the open string.