Fixed leap and oriented bounding box issue