We can't rely on it not changing between calls, especially as MaxUpdateTextWidth() changes the value and re-gets it, and that's called at the end of this method always. So we need to keep our own copy rather than using the one that's owned by the subclass. Fixes a use-after-free uncovered by the guarded heap in VolumeSlider, reported in #19493.