Constrain anchor and focus nodes to the containing paragraph