Fix drawing lines when having a scrollbar / during scrolling