iOS: correctly refresh screen after resize