Fix bug using autolegend with LineCollection.
Authored by: mdboom 2008-07-02
Parent: [r5705]
Child: [r5707]