In the latest build of Blender it is not possible to orbit around a selecetion via pressing the middle mouse button after centering the view to a selection (Numpad .). It seems to orbit around the selection with an offset.
The easiest way to check that is to open Blender in the default Layout Workspace, select the cube, press Numpad . and try to orbit around with middle mouse button pressed.
But it is possible to rotate around a selection (after centering the view to a selection) if you use the Viewport Gizmo.
System Information
Operating system: Linux-4.4.0-154-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GT 620M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 384.130
Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-08 14:18, hash: rBa4bc6aca0ef9
Worked: (optional)
Short description of error
Orbiting around a selection with middle mouse button pressed displaces the selection/the view.
Exact steps for others to reproduce the error
The easiest way to check that is to open Blender in the default Layout Workspace, select the cube, press Numpad . and try to orbit around with middle mouse button pressed.
[Based on the default startup file]