The depth problem existed, but was pretty well solved by early 1942 by Asiatic Fleet Skippers and Tender techs.
The Mk 10 was first deployed in 1915
and was up to Mod 3 by the 1930s (with Mod 1 & 2 being badly regarded).
It would seem the USN was fixing quite a few problems on the MK 10 before work began on its replacement, Mk 14.
Edit added later: on further research, it seems that not all the changes were successful.
For example, increasing the warhead on the Mk 10 Mod 3 changed the balance and contributed to its deep running.
Similarly, the Mk 10 only used early exploders that were more robust than those built for the MK 14
(or at least were robust enough to cope with the Mk 10s lower impact speed).
Also, being contact only, these did not suffer the issues with the additional magnetic feature included later.
Operationally, the Mk 10 was both slower and shorter ranged than the Mk 14 at it's normal setting.
Further, the Mk14 had an extra slow setting for long range which the Mk 10 lacked.
Taking both into account I would expect that, on average, a Mk 10 was fired from closer to the target than a Mk 14.
Obviously problems with depth keeping and wandering off track are worse at a longer range.
(AIUI the Mk 10 and Mk 14 used the same guidance technology, the ULAN system
Apologies I have no info on how that works or how it compared to other designs)
However, as always it was human factors, not technical factors that were the most intractable.
The MK 14 was the new shiny toy and the Navy would not accept it could possibly have problems
while the MK 10 was old-fashioned and needed to be replaced ASAP.
AIUI as early as January 5 1942, the Bureau of Ordnance informed Commander, Submarines, Pacific Fleet the Mk 10 torpedoes ran four feet deeper than set.
Despite this USN senior commanders still disbelieved Captains reports of problems with the Mk 14 till Mid 42 and some did not pass them on to BuOrd. (Some Captains may even have been censured for bad performance )
As late as mid-1943 BuOrd was still denying some of the issues found with the Mk14
even those found by the ad-hoc tests made at Pearl which started in August 42, after ~ 1000 Mk 14 were expended.