Fix orientation on Windows 8.