so I started using LibreOffice recently, and I had this weird bug, where my mouse snapped to the top of the first line with the letters.
Video for more information
The snapping is only downwards, and happened only on one document(after I restarted Libre Office Calc it went away)