Thank you for the information!
This change is already made. While the Windows version paints some objects (like resizing lines for images and tables, or a custom caret) directly on the control's canvas, the Linux version restricts itself to painting only inside Paint method.