Fix line move bug