Fix error in rooms with invisible walls