Fixed offsetVertex method