Session restore: wIndows not being correctly restored