Fixed UI rotate issues with iPad. iPhone goes still untested.