Fix arrow key remap for apple keyboards.