Initialize the window orientation to the primary screen orientation.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>