FIX: fix all bugs for Line/Rect/Circle