Fix custom themes.