Fix line-cap and line-join on bridge background

The white background of bridges should not have a round line-cap,
but should have a round line-join.

With round line-cap, artefacts appear at the end of the bridges
on non-white backgrounds.
Merge pull request #541 from math1985/bridges-background-linecap

Fix line-cap and line-join on bridge background