Fix SMART_DrawLine