PIVOT-955, last components updated to handle the themeIsFlat. Note that here the Background color is drawn only in flat mode (because it wasn't drawn before in the normal, non-flat mode, so the old behavior is respected).