Steps to reproduce:
- Load https://www.wikidata.org/wiki/Q4115189
- Click on [edit] and scroll down. The buttons get fixed positioned while the buttons are over the box.
- Click on [cancel]. Box get removed. The buttons change back to [edit]. The buttons are still fixed positioned and are now not over the box anymore:
Expected result: After changing the box the position status should be updated.