Fix for buidHatchFills and getAutoshapeFillShape.