fixed foreground problem in AssetProtect(THD) app