Fix botched unit box padding code.