Menu: remove gap in dropdown if scrolling, fixes #2858 and #1003110.