[menulist] Preserve custom list padding when adjusting for the scrollbar (#48707)