Rename invalid positions to walls