Fixed NullPointerException in Themes constructor when a non-Spring WebContext is provided