Fix bug when use themes from bundle/plugin