Behaviour change from Godot 4.5.1 to 4.6, hopefully can be resolved https://github.com/godotengine/godot/issues/115622