Fixed issue with obstacle overlap.