fixing bug where invisible walls are a thing