Dropdown in panel header does not inherit its colors

Fix for issue #10627