Fixed a bug that caused themeing to fail.