orientation fix for all windows.