Undo problematic change causing onBlockActivated() events to crash when no item is held.