Fixed "toggle undo" to also work on fill operation