Add workaround for UIScreen mainScreen issues in resizable iPhone simulator