Fixes thread safety issue with RichTextPreValueController