To replicate:
- Spawn a horse, tame and use a saddle. (Or use /ride on any entity)
- Change player scale: /attribute @s minecraft:generic.scale base set 9
- Try opening the inventory
If you change the size of the vehicle with /execute on vehicle run attribute @s minecraft:generic.scale base set 9 for example. Works as intended again.