Fix Home and End keys