fix FS#900 - Using text in 3.1.2 freezes QCAD