Steps to reproduce:
Step 1: Go to a Bundle in your Inventory.
Step 2: Scroll through items in the bundle.
Step 3: Choose an item that's not in the front, and you'll notice that it always chooses the item in front instead of the item you chose.
What happened: Right Clicking on Items after scrolling in Bundle always chooses the Item on the front.
What I expected: Right-Clicking on an item after choosing on the scroll wheel should give you the item you picked.
This behavior is new to 24w46a.