PRD-4636: Test and fix for not updating the styles when moving the eleme...

...nt in the visual editor.