Added sessionoptions that restore window position