Minimap not centering the view correctly on click

When I use the minimap, the view is not centered where i click on the minimap, rather it seems to have an offset.

Here it is in action: https://streamable.com/uw5sa

Using windows 10 64bit, Chrome Version 80.0.3987.122