Fixing legend element