I've had thst happen once, near the Owlbear cave. Went in and approached the old shrine. Did the puzzle and was surprised that Shadowheart did not object like she's supposed to. Clicked her portrait and the camera jumps to her still standing outside the cave.