Fix bug with menuExtensions functions calling the wrong item.