When performing undo/redo on some page, because some unneded mutation get recorded, the page scroll to another location (either up or down). This commit add a mechanic that filter out thoses unnecessary mutations. task-2667885 closes odoo/odoo#79620 X-original-commit: 125730ffd9322d34ef1c7d8d0298457de3e65f90 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>