Fixed dual flash when loading on iPad