Fix pickup combining over the maximum stack size.

Fix #1114