I use a DataGrid in the form to show a list (user id, name, balance, etc.). There is a very strange problem with it: at the beginning of some lines (one of twenty lines) there is a small white space that causes line offset. White space is like a small rectangle that is placed right in front of the first cell in a row. I looked through my styles and that’s all, but I can’t understand why this is happening. This only happens when I programmatically scroll through my DataGrid, after the scrolling is done, spaces appear.
What's worse is that the empty space can be changed! and when I change it with the mouse, it spins the grid. I really don't want to send something like that.
I do not have much experience in WPF, I would really appreciate it if someone could give me an idea of where to look. Thanks.
Edit: here is a screenshot:

source share