idée fixe
noun
-
A recurring musical theme; a leitmotif.
-
An idea dominating the mind and maintained despite evidence to the contrary; (loosely), an obsession.
something on the brain
How often have the words idée fixe and something on the brain occurred in a corpus of books? (source: Google Ngram Viewer )