It seems it does work, but when your characters are further away from eachother than the viewport width and the camera is in the center, you obviously won't see them..
You could either limit the movement of the characters or add a zoom function for when they are further apart..