Fixed incomplete path drawing issue