FIX BUG checkTransparentWalls in all stages