Flex crash if the rootViewController only supports Portrait mode.