Fix box row/column arithmatic.