Fixed regression in showTopicPanel function