Rebuild captions correctly on every style change. Fixes BRBPL-3923.