Hello, thank you for your answer
Your solution may work but we are not taking about the same problem (mine was in 2d). Since the 2d and 3d engines are separated, I think it is complicated to compare the issues...
It has been a long time since I solved this issue, and I don't quite remember how, but I assume it was fixed with godot 3.2
Have nice day