Minor fix to vertex buffer resize logic. [ci skip]