Fix bug in panel title headings