Fixed destroying vertex array