Fix error caused by btVector3 passed by value