Fixes engine.js range preservation

boundaryPoints[x][0].childNodes will always be the empty list
for text nodes, and therefore the range would always be collapsed.