This reminds me of the Decca TANS originally fitted to the RAF Sea Kings. When flying west towards the Scilly Isles the TANS used to throw a wobbly. What had happened was it had run off the end of the map and started from the beginning, positioning itself off the coast of Kent.
Just a line of software......