Two small bugfixes in LineEdit