reset brush before raster layer draw, fixes #7766