fix bring foreground on CE devices