The year is 2014 (yes 11 years ago) and the code was ALREADY there lol
Port to typescript launched - expect some crashs · BabylonJS/Babylon.js@c6de9fc
So I can safely assumed this was ported from the JS version and most certainly from the Silverlight version.
But if we look closely this was not exactly the same:
I don’t think that was useful either. I really believe we have that bug since forever
Nice catch @forux