Fix flexbox bug in titlebar for FF 35