Fix ForeignWindow.Minimized