Remove currentLocation in text wrapping algorithm and replace with currentNode.