Fixed a crash with empty path names in theme box definitions.