Vector grid bug fix