CS-4817: Fixed some displaying bugs in the backend when rich text
captions are disabled.