bugfix for RTC_INVALID_GEOMETRY