Fix keyboard layout switch