Fixed dialogue not responding correctly when picking up items.