Fixed error preventing theme from loading in the Editor