Fix path LineJoin and LineCap