FIX: bezier signature -- draw image should after img.onload