Fix repainting of toolbar separators after non-client area has been painted.
Fixes #2994
Merge pull request #131 from ioannis-e/fix#4114

Fix repainting of toolbar separators
MainFrame: fix snapping to desktop edges

Refs #4116
Treat tooltips as part of parent root window

Fixes #4128