Fixed some errors with booleans in contour objects