Added light wall collision detection.