It should probably be `boxOffset || 0` as in the first argument.