Bug when using same width HTML commend code in HTML text filter

I use the following code in around 5 frames. I use a one track and a transparent GIF file, which I have stretched out to cover the frames of the video, located in the video track.

This is the code:

<script src="qrc:/scripts/jquery.js"></script>
<script src="qrc:/scripts/rangy-core.js"></script>
<script src="qrc:/scripts/rangy-cssclassapplier.js"></script>
<script src="qrc:/scripts/htmleditor.js"></script>
 <body style=""><div id="rectangle" style="width:362px; height:95px; background-color: rgba(255, 0, 0, 
1); position:fixed; top:30px; left:30px"></div>
<div style="text-align: left;">}</div>

The only difference in the last frame is the width, this is 515px.

Issue: When I change the width in one of the frames, all the other frames get the same width value, including the last one. Hence if I change the width for the last frame, all other frames get that value.