Fixed wall implementation some more.