fix #2624: coordinates display is wrong near a confluence point

The coordinates need to be rounded differently depending on the
precision which will be used for the output.
fix #2637: crash when rotating caches list

The loader can be null if we came here from a preexisting caches list
such as a map view.
Merge remote-tracking branch 'upstream/issue-2624' into release