fix a bug in d3d vertex buffer map; minor adjustments