Fixes wrong vertical aligment for items in legend with long texts