Fix dialogs (AlertDialog and Dialog themed activities) when overriding the accent color.