bugfix for deleted annotation undo