Fix visual corruption during wall rendering.