Why does the subcategory dropdown disappear sometimes?

This happens to me regularly for different amounts of time and I can’t understand why. It’s not related to the browser or size of the window since it happens in the same window. A refresh doesn’t always fix it.

Sometimes the subcategory dropdown just doesn’t exist, like you can see in these two screenshots.