Fix sequence of imagepipe brushes when used in the line tool
We should update parasites before actually selecting the brush, because the freehand brush may have multiple brush resources, which could have been set up for different sequence numbers
We should update parasites before actually selecting the brush, because the freehand brush may have multiple brush resources, which could have been set up for different sequence numbers