Caret doesn't change position if we try to move it beyond root node's border