Fixed a bug in collecting pickups