Move some more code out of G_Command_DrawLine