Fix margins for legends