Putting that frame into your inventory would bring you above the volume capacity (102/65).
Wielded items don’t count for the volume capacity, so wielding it would be fine.
The menu at this point doesn’t know if you are going to wield it and assumes it goes into the main inventory and this would lead to an volume of 102.
That’s the bug! And actually I think it’s my fault.