Ask mode often lists wrong file for changes to be applied

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
:lady_beetle: Provide a clear description of the bug
Agent mode seems fine but when you switch to Ask mode in same thread and then it offers suggestions for code fixes in a code block, then the wrong filename is in the top right. I do have another window open with shift ctrl n but this is in the main window.
:counterclockwise_arrows_button: Explain how to reproduce the bug (if known)
:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4).
:laptop: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
:prohibited: Tell us if the issue stops you from using Cursor.