Revert "Fixed undoing after saving makes negative changes"

This reverts commit aba8dea7658d18fe1e819d1eb149067dba19e5f0.