Shortcut for Content Aware Fill doesn't work shortly after opening Photoshop with a PSD file
I often use content aware fill in After Effects, but when it creates artifacts that don't look great, I often try to fix these by creating a reference frame, which opens a PSD file in Photoshop. From there I select the messed up part of the image, and then press F5 on my keyboard, which I've associated with Content Aware Fill. Content Aware Fill doesn't open. I tried this opening a PSD file directly from windows and the result is the same. Opening other formats however seem to work correctly, so this may just be affecting PSD files. I don't know whether this is specific to the custom keyboard shortcut I have or not.
If I minimize photoshop and then bring it back into focus, the shortcut works fine, but not the first time I try to use it. Because of this I tend to just leave Photoshop running in the background, as once it starts working, it will keep working, but when I first open Photoshop, that shortcut doesn't work the first time I try it. So if I'm attempting a content aware fill right after opening photoshop now, I've been just manually using the drop down menu and selecting it with the mouse instead of my keyboard shortcut. But occasionally I forget, and of course run into this bug every time I try this sequence of events.
1. Adobe Photoshop Version: 23.5.1 20220907.r.724 5600b96 x64 (but the bug has been happening for a while, not sure how long)
2. Windows 11 21H2
3. With photoshop closed, open Photoshop by opening a PSD file. Make a selection and press keyboard shortcut for Content Aware Fill. Content Aware Fill doesn't open.
4. Shortcut should work, and it doesn't.