Fixed line snap on create bug.