Assuming the fence is parallel to the blade, using a featherboard to ensure the box is held tight against the fence might help. I have also seen it suggested that you should not cut all the way through on the table saw but separate the two halves with a fine tooth saw afterwards and trim up with a block plane.
I'm no expert though!
Rob