Corrected handling of deserted planes and linear segment scaling.
Bugfixes