fixes #37 input fields inside menus are not centered correctly