bug with vertical/horizontal topology in editor
### Expected Behavior

_No response_

### Actual Behaviour

Some rendering bug when switching view
https://github.com/kestra-io/kestra/assets/46634684/d8a563cf-5b2f-47a9-8274-589c9686f217



### Steps To Reproduce

_No response_

### Environment Information

- Kestra Version: 0.9.0
- Operating System (OS / Docker / Kubernetes): Docker
- Java Version (If not docker):


### Example flow

_No response_
ui/package.json
ui/package.json
diff --git a/ui/package.json b/ui/package.json
index 023e92e2da..17551e15cd 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -11,7 +11,7 @@
   },
   "dependencies": {
     "@vue-flow/controls": "^1.0.6",
-    "@vue-flow/core": "1.20.0",
+    "@vue-flow/core": "1.14.3",
     "ansi-to-html": "^0.7.2",
     "axios": "^1.4.0",
     "bootstrap": "^5.2.3",
