Fix legend item width when data.names called - #775