Fixed bug in iOS8 where we were not getting the correct window to test for rotation