Fix repainting of toolbar separators after non-client area has been painted.
Fixes #2994