Center mesh in scene

(Using orthographic camera and orthographic trackball controls):

To center a mesh in the displayed scene, after panning using orhogtaphic trackball controls, I am using the following:

geometry.computeBoundingBox();
var center = geometry.boundingBox.getCenter();
mesh.localToWorld( center );

controls.target.set( center.x, center.y, center.z );

This centers the mesh, but the model appears to have rotated a bit. I’ve tried saving the previous rotation of the camera and setting the rotation back after the above is called, but the result is still a changed rotation. Is there a way to save the current rotation of the model when centering the mesh in the displayed scene?

Isn’t this somewhat a duplicate of: Dynamically set center of rotation by click