Fixed minimize/restore issues with transparent windows.
Fixed minimize/restore issues with transparent windows.