What switches are you using when creating the window?