Fixed bug in bag
Use entity pool instead of just id pool