fix line pattern fill misalignements, fixes #8974
[TRANSUP] nb by James

Signed-off-by: Werner Macho <werner.macho@gmail.com>