Black lines appear on meshes at the corners of the lightmap

Here’s a overlay image showing where the problem is. The lightmap is plain simple.