Core: Min height for empty toolbars. Fixes #6258.
Merge branch 'issue-6258'