Added join borders and fixed straight right walls bug.