win: Fix the resizable flag, closed #316.