Bug fix for gibbon contours.