`view_structure` drops cross-pb bonds; that makes atoms which only had a cross-pb bond disappear, because the rendering is bonds, not atoms. detect when this is happening and `nearest_image!` the atom instead.