Fixed problems using asset files with themes