Fixed a bug in containsVertPartial