Adjust legend key position