Bugfix visibility of borders when creating hidden polygons

When creating a polygon with visible attribute set to false, the borders were still visible.