iOS - activity indicators hide on window event postlayout