Fixed home/end on Mac.