MDL-67689 theme_boost: improve theme designer mode performance