Fix segmentation fault in drawRRT app