This is a rework of the Pull Request https://github.com/GarageGames/Torque3D/pull/453 based on my own understanding of the issue. The details may be found in the description of the original Pull Request.