little optimization of BrushFill algorithm

Signed-off-by: anti-freak <antifreak2011@gmail.com>