well, from the first glance this is intentional behavior.
The action for drawing "line vertical" or "line horizontal" creates a line with fixed length (at least in versions that are available for public, as there will be update where it will be possible to create line with selection of end point too).
That length may be changed either via command line or via editor in "tool options" toolbar.
Moreover, that last enter value of the length is used with next command invocation.
So I think the issue is related to current settings and in saved length.
BTW, which version of LibreCAD do you use?
In general, in "Tool options" toolbar for the command there should be UI that is similar to this one (this is from development version)