fix usage of menu-height variable