Core/Items: Fix crash related to item effects