Fix crash when trying to use 1-sided lines