Fixed segfault when trying to copy element with NaN pos
Fixed segfault when trying to copy element with NaN pos

iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal