Fix an iOS bug with the loading div