Some more info:
On a mac which never had Geany on it, it works as expected. It did initially work as expected on my mac.
It seems as if at some time point, Geany goes nuts, and the extra title bar comes up.
Could it be that Geany is using some global settings, that are affected by another software? Is Geany for instance reading some global GTK settings? If so, that could be fixed?