text: Title: Cells sometimes switch columns in app view
  Body: ### Describe the bug
  
  Editing a notebook in app view — sometimes cells that are supposed to be in one column are rendered in the other.
  
  Example:
  
  <img width="1390" alt="Image" src="https://github.com/user-attachments/assets/4f391ac1-306d-4b41-8e13-66475c95f5e7" />
  
  Expected: In app view, left column says hello, right column says Title, bye.
  
  Actual: 
  
  <img width="1101" alt="Image" src="https://github.com/user-attachments/assets/cfc30b24-6478-4e41-9727-22f2a44860d7" />
  
  ### Environment
  
  <details>
  
  ```
  {
    "marimo": "0.10.16",
    "OS": "Darwin",
    "OS Version": "22.5.0",
    "Processor": "arm",
    "Python Version": "3.12.4",
    "Binaries": {
      "Browser": "131.0.6778.265",
      "Node": "v21.5.0"
    },
    "Dependencies": {
      "click": "8.1.8",
      "docutils": "0.21.2",
      "itsdangerous": "2.2.0",
      "jedi": "0.19.2",
      "markdown": "3.7",
      "narwhals": "1.23.0",
      "packaging": "24.2",
      "psutil": "6.1.1",
      "pygments": "2.19.1",
      "pymdown-extensions": "10.14.1",
      "pyyaml": "6.0.2",
      "ruff": "0.9.2",
      "starlette": "0.45.2",
      "tomlkit": "0.13.2",
      "typing-extensions": "4.12.2",
      "uvicorn": "0.34.0",
      "websockets": "14.2"
    },
    "Optional Dependencies": {}
  ```
  
  </details>
  
  
  ### Code to reproduce
  
  ```python
  import marimo
  
  __generated_with = "0.10.16"
  app = marimo.App(width="columns")
  
  
  @app.cell(column=0, hide_code=True)
  def _(mo):
      mo.md(
          """
          hello
          hello
          hello
          hello
          """
      )
      return
  
  
  @app.cell(column=1, hide_code=True)
  def _(mo):
      mo.md("""# Title""")
      return
  
  
  @app.cell
  def _(mo):
      mo.md("""bye""")
      return
  
  
  @app.cell
  def _():
      import marimo as mo
      return (mo,)
  
  
  if __name__ == "__main__":
      app.run()
  ```