Top-level resource copy bug fixed

After first resource copy the classes weren't updated appropriately.
Fixed box training bug

If robot dropped something in an empty hole in a box in a box.