Strange collapse() problem

This is collapse() function test(Now, box Element and text Element is collapsed)

and clicked site Preview button…


results is fine.

but when I go back to the Editor from Preview mode…

What’s happened!?