Exception handling and resampling of the drawn path