You have to stun the mobs and then you can right click to collect if I understood it properly
I was stunning them but I still couldn't pick them up, I was right on top of them and the outline wouldn't come and I couldn't pick them up.
I had the same problem initially. You have to stun all enemies in a room before you can pick up your ingredients and leave.
yeah realised that, haha