Event file only showing part of route, distance is correct

Did a 103 mile ride today, the full distance is showing on the device history and in garmin connect, but only the last part of the route is showing on the map.
The strava upload only shows the distance from the map.
This was after our last coffee stop.
At the coffee stop I paused the ride, turned off the device (not sleep).
After the stop I switched on the device, unpaused and continued the ride.

The device worked correctly at all times during the ride.

This has now happened on 3 separate occasions.

I'd like to correct the file and understand why it's happening.

Any advice

Thanks