if the robot is near, sometimes the bounding box keeps shifting from its position which results in robot stuck in a loop