Windows: Fix show/hide window