Bug fixing: Visual editor draw line