Fix asm crash in beacon gui
Fix rare ItemSorter crash