Fixed memory leak
Fixed scanning process error
Improved raycast visualization performance and resolution for non-LiDAR devices