Fix legend alignment