### Godot version

v4.1.2.stable.flathub [399c9dc39]

### System information

Godot v4.1.2.stable (399c9dc39) - Freedesktop SDK 23.08 (Flatpak runtime) - Wayland - Vulkan (Compatibility) - NVIDIA GeForce GTX 1050 Ti with Max-Q Design () - Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 Threads)

### Issue description

When creating curved Path3Ds and using the Option `Debug > Visible Paths` they don't show up curved and instead are just straight lines.
Source Code: https://github.com/Arbee4ever/Train-Game/blob/master/scripts/World.gd#L115

### Steps to reproduce

1. Create Script to create curved Path3D
2. enable `Debug > Visible Paths`
3. run game
4. see straight line instead of curve

### Minimal reproduction project

N/A
BIND_ENUM_CONSTANT(ROTATION_Y);
	BIND_ENUM_CONSTANT(ROTATION_XY);
	BIND_ENUM_CONSTANT(ROTATION_XYZ);
	BIND_ENUM_CONSTANT(ROTATION_ORIENTED);
}
void PathFollow3D::set_progress(real_t p_progress) {
	ERR_FAIL_COND(!isfinite(p_progress));
	progress = p_progress;
	if (path) {
		if (path->get_curve().is_valid()) {
			real_t path_length = path->get_curve()->get_baked_length();
			if (loop && path_length) {
				progress = Math::fposmod(progress, path_length);
				if (!Math::is_zero_approx(p_progress) && Math::is_zero_approx(progress)) {
					progress = path_length;
				}
			} else {
				progress = CLAMP(progress, 0, path_length);
			}
		}
		_update_transform();
	}
}
void PathFollow3D::set_h_offset(real_t p_h_offset) {
	h_offset = p_h_offset;
	if (path) {
		_update_transform();
	}
}
real_t PathFollow3D::get_h_offset() const {