Wokraround a bug in FormattedElement SetCaption - we don't use the test runner UI so this is not really important (just annoying)