Hi,
Thank you for your feedback.
I first, I was not able to reproduce the problem on my end. But remembering that we made improvements to the geolocation plugin in the latest release, I tried to enable the plugin and then I was able to reproduce the problem.
So I've made a patch which fixes the problem.
Download again the install package of the 5.1.1 on our website and install it on yours and you'll get the patch.
Note that since it is linked to the geolocation plugin, you need to test with a new user session so you want to clear the cache of your browser to see a change.