fix a small bug in selecting items while picking up

Suppose "here.size()" is 11 and "maxitems" is 10. Then "start" should be 10, not 0.