Core: allow use of select & buttons in the header. Fixes #625