Fix tab handling for walls