Fix issue #38 window re-show at the good position