Fix theme loading issues.