Fixed the issue with multiple cursors (window resizing or undoing annotation).