Some bugfixes for box distance