Node / Bootstrap 5 - rearranging containers breaks app view

Wappler Version :3.7.4
Operating System :Win 10
Server Model: Node
Database Type: Maria DB
Hosting Type: Docker

This is a Node project and page is a view based on a layout

It is using bootstrap 5 custom

See video

The issue seems, to be when dragging the container the DIV is moved before the directives in the head of the page, in this case.

<!-- Wappler include head-page="layouts/homepage" jquery_slim_33="cdn" fontawesome_4="cdn" is="dmx-app" id="register" appConnect="local" components="{dmxValidator:{}}" bootstrap5="custom" -->

Manually cutting/ pasting this back to the top of the page seems to correct the issue