Correctly resize the spawn object packet