Fixed the rotation bug and upgraded Windows version to latest SDK