Fix crashes in player equip menu