this has been happening to me randomly for years: the "distance" box appears with my cursor and will not go away. Some sort of bug but it happens often enough that it is annoying. If I click around in the View Map, section to plan for instance it usually goes away.
Dave Brach/architect
AC26 MBP OS Ventura
AMD Radeon Pro 5300M 4 GB
Intel UHD Graphics 630 1536 MB