Fixed vertex buffer type setting broken in earlier commit