Debug window orientation