I get the same on Monterey 12.4. Copy/paste from a terminal also causes issues reliably, with a large chunk of whitespace above what you paste in, which seems like maybe a vertical tab or something. deleting this sometimes jumps you to the bottom of the file. Also there are often problems with lines of text actually being displayed over the top of other lines of text.