Fix the init window size in and update icon in Mac