fixes #1461 redraw borders after scroll fixed