Unless the mesh is actually rectangular then it’s not worth going through the trouble of matching it up to the pixels.
With UV mapping you need to do as much as you can to avoid seams, depending on what your UV’s are there’s probably ways to avoid that issue, like for instance that side of the door can be a single UV island.