Bug in tooltip legend