Fix event pump order on ios when we drop in deeper message loop.