fix black screen when back to foreground  on android.