Find and replace fields invisible, when not marked active

Unsure as to why this happens, but the find and replace fields turns invisible rather often for me.
Screencast.zip (661.9 KB)

That is a very strange bug in macOS. I have not found the real cause for this. What version of macOS do you have?

That would be High Sierra, 10.13.6