Restore cursor position after save