Improve positioning of a headermenu.

Fix #608