Table caption is removed every time is deactivated.

Table caption is now hidden or shown but not removed, so the original text remains.