Removed unneccessary copy of vertexarray
Fixed issue caused by 'minor changes'