fix issue #1881, pgf: add style information for hatchings

Since the hatching is defined in its own pgf scope, the path styles must be applied anew.