My code is disappearing as I scroll

I noticed that the issue appears when I scroll my notebook. When it happens a few code blocks turn out empty. Only scrolling up so the code hits a very specific spot at the top of my screen helps the code become visible…