finalize Windowmode resize remove changed on OnSizing that caused mistake when minimized/maximized, to/from tray