fix for bg image flash