Rendering vertex & index buffers fix