fix valid placements in corners