Fixes legend cut-off