Thank you for bringing this issue to light. It has been fixed for 23.1 LTS and should be fixed for any other version with the new shortcut system. Until the fix lands, it is also possible to double click on an entry in the shortcuts window (Edit -> Shortcuts) and left mouse click on that same entry, outside of the field, to assign it to Mouse0.