It is actually a issue, that I lokated now. It seem's that it fills the window completly.
So if you do a border that is smaller then max, then it draws over the borders. :/
I wish there would be any customization for that, so you can say to stop 4 or 5 pixels before the maximum borderrange.