a little-known option concerns "out-of-bounds" cases. You can control what is done with lines of points that goes off-scales using
scale_x_continuous( oob = scales::oob_keep )
where oob_keep
keeps any object that goes outside of the limits (here the horizontal limit).