Fixed legend to agree with layout