Fix theme initialization