Beams across staves

Excuse me if this is obvious, but I’ve scoured the manual and forums and don’t find an answer. When I move notes in a piano part, say from the upper stave to the lower (with the right click/display in stave…" function), the note will change to the lower stave, but the beam remains connected to notes in the upper stave, which looks ridiculous (see attachment). How do I separate the beams, so that the notes only beam to other notes in the same stave? Thanks for any and all tips.
Example 1.png