You hit a bug - a funny one, because there’s already a bugreport describing the exact same thing, but with white lines bottom and right. Happens on some versions of Windows and Debian derivatives, but not all. I can see it in LO 5.4 on LinuxMint 18.2, tested both with black and white background.
I’ll send in more details, let’s hope this helps to find a solution.