**BUG**
Concise problem statement:
When rendering lines in the GUI, horizontal lines can disappear, then reappear. This occurs when the diagram is zoomed out, so the line becomes very narrow. Presumably the computation scales the line width which underflows to zero.
Steps to reproduce bug:
Firefox 38
Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: LinuxMint
Description: Linux Mint 17 Qiana
Release: 17
Codename: qiana