[Windows] Don't update transparent margins on close.