undo/redo now works for tiles