Fix an issue with autohealing.